package com.sinosoft.cloud.access.codec;

import com.sinosoft.cloud.access.net.Access;
import io.netty.handler.codec.ByteToMessageDecoder;

/**
 * cloud-netty
 *
 * @title: cloud-netty
 * @package: com.sinosoft.cloud.access.codec
 * @author: yangming
 * @date: 2017/12/2 下午3:07
 */
public abstract class AbstractAccessDecoder extends ByteToMessageDecoder implements Access {
    private String accessName = null;
    private Integer port = null;

    @Override
    public String getAccessName() {
        return accessName;
    }

    @Override
    public void setAccessName(String accessName) {
        this.accessName = accessName;
    }

    @Override
    public Integer getPort() {
        return port;
    }

    @Override
    public void setPort(Integer port) {
        this.port = port;
    }
}
